package com.pan.hisystem.service;

import com.pan.hisystem.pojo.Outpatients;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pan.hisystem.pojo.PatientTest;
import com.pan.hisystem.pojo.RespBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qingyang
 * @since 2022-03-18
 */
public interface IOutpatientsService extends IService<Outpatients> {

    /**
     * 根据卡号获取患者信息
     * @param mid
     * @param id
     * @return
     */
    RespBean getMessageByMid(String mid, Integer id);


    /**
     * 更新就诊状态
     * @param outpatients
     * @return
     */
    RespBean updateOutpatients(Outpatients outpatients);

    /**
     * 根据卡号获取患者化验收费信息
     * @param mid
     * @return
     */
    List<Outpatients> getTestByMid(String mid);
}
